package com.wanxi.spring.cloud.zuul.service;

import com.wanxi.spring.cloud.commons.api.CommonResult;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 蒋帆
 * @since 2020-12-21
 */
public interface UserService {

    /**
     * 通过用户名查找用户
     * @param username
     * @return
     */
    CommonResult getUserByName(String username);


    CommonResult sendToken(HttpServletRequest request);
}
